using System;
using PhillyCodeCamp.Domain.Validation;

namespace PhillyCodeCampSpecs.Helpers
{
    public class PersonBusinessRuleWithFailure : IBusinessRule<IPerson>
    {
        public bool IsSatisfiedBy(IPerson item)
        {
            return false;
        }

        public string Name
        {
            get { throw new NotImplementedException(); }
        }

        public string Description
        {
            get { return "Business Rule 1 Failure"; }
        }
    }

    public class PersonBusinessRule2WithFailure : IBusinessRule<IPerson>
    {
        public bool IsSatisfiedBy(IPerson item)
        {
            return false;
        }

        public string Name
        {
            get { throw new NotImplementedException(); }
        }

        public string Description
        {
            get { return "Business Rule 2 Failure"; }
        }
    }

    public class PersonBusinessRuleWithSuccess : IBusinessRule<IPerson>
    {
        public bool IsSatisfiedBy(IPerson item)
        {
            return true;
        }

        public string Name
        {
            get { throw new NotImplementedException(); }
        }

        public string Description
        {
            get { throw new NotImplementedException(); }
        }
    }
}